package service;

import dao.CustomerDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("customerService")
public class CustomerServiceImpl implements CustomerService {

    @Resource(name="customerDao")
    private CustomerDao customerDao;
    @Override
    public void save() {
        System.out.println("--业务层..");
        customerDao.save();
    }

}